<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="x" uri="/WEB-INF/tags/coretag.tld" %>
<%@ taglib prefix="u" tagdir="/WEB-INF/tags" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <%@ include file="/WEB-INF/include/include.jsp" %>
    
    <style type="text/css">
    	.icon-add { background-position: 0 -157px; }
    	
    </style>
  </head>
  <body> 
  <script type="text/javascript">
  	function btn1Click(){
  		alert("hello");
  	}
  </script>
  <div id="btn1"></div>
   <div id="btn2"></div>
  <u:page>
  	  	<u:button text="新增" renderTo="btn1" iconCls="icon-add" width="200" height="100" >
  			<x:handler name="handler" funcName="btn1Click"></x:handler>
  		</u:button>
   	  	<u:button text="修改" renderTo="btn2" iconCls="icon-add" disabled="true" >
  			<x:handler name="handler" funcName="btn1Click"></x:handler>
  		</u:button>	
  	</u:page>
  </body>
</html>
